package com.xhh.nphm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xhh.nphm.system.domain.TworkFormLogEty;
import com.xhh.nphm.system.mapper.TelWFLogDao;
import com.xhh.nphm.system.service.ITelWFLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TelWFLogServiceImpl extends ServiceImpl<TelWFLogDao, TworkFormLogEty> implements ITelWFLogService {

    @Autowired
    private TelWFLogDao telWFLogDao;

    @Override
    public List<TworkFormLogEty> logList(Integer id) {
        return telWFLogDao.logList(id);
    }

    @Override
    public int insert(TworkFormLogEty tworkFormLogEty) {
        return telWFLogDao.insert(tworkFormLogEty);
    }
}
